package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

/**
 * 供应商表 sup
 * 
 * @author ruoyi
 * @date 2019-02-20
 */
public class Sup extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 供应商编码 */
	private String code;
	/** 名称 */
	private String name;

	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .toString();
    }
}
